package com.igeek.javase.ch05.JDBC.entity;

import java.sql.Blob;
import java.util.Date;

/**
 * @author chenmin
 * 2023/7/19 16:04
 * @description 女生信息
 */
public class Girl {

    private String name;
    private Date borndate;
    private String phone;
    private int boyfriendId;

    public Girl() {
    }

    public Girl(String name, Date borndate, String phone, int boyfriendId) {
        this.name = name;
        this.borndate = borndate;
        this.phone = phone;
        this.boyfriendId = boyfriendId;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return borndate
     */
    public Date getBorndate() {
        return borndate;
    }

    /**
     * 设置
     * @param borndate
     */
    public void setBorndate(Date borndate) {
        this.borndate = borndate;
    }

    /**
     * 获取
     * @return phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 设置
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * 获取
     * @return boyfriendId
     */
    public int getBoyfriendId() {
        return boyfriendId;
    }

    /**
     * 设置
     * @param boyfriendId
     */
    public void setBoyfriendId(int boyfriendId) {
        this.boyfriendId = boyfriendId;
    }

    public String toString() {
        return "Girl{name = " + name + ", borndate = " + borndate + ", phone = " + phone + ", boyfriendId = " + boyfriendId + "}";
    }
}
